Enable Kerberos Authentication between Ivanti Neurons for MDM and SCEP server
You can use Kerberos authentication to communicate between Ivanti Neurons for MDM and SCEP. The following sections discuss how to enable Kerberos authentication on SCEP servers and Ivanti Neurons for MDM.
Pre-requisite: This feature is functional with Ivanti Neurons for MDM Connector 93 and later versions. Contact Ivanti Support to enable the Feature Flag after upgrading to Ivanti Neurons for MDM Connector 93 version.
Pre-configuration steps
-
Check which service account is in use for the SCEP service on the SCEP server.
-
On the SCEP server, check that the service account is a member of the local IIS_USRS group.
-
On the CA server certificate template that is being provisioned, check that the service account has enroll permission.
Configuring Windows servers
-
Run the following command on a domain controller:
setspn -s http/<SCEP-SERVER-FQDN> <domain>\<service account>
-
In Active Directory Users and Computers, click the Delegation tab of the service account:
- Under Trust this user for delegation to specified services only, select Use Kerberos only.
- Click Add and add the SCEP server name.
- Select the HTTP service.
- Click OK.
-
Do the following on the IIS server to make sure that Application Pool credentials are used to decrypt Kerberos tickets:
- Check that the SCEP Application Pool is running under the service account that you verified earlier.
- To enable useAppPoolCredentials, on the Microsoft SCEP Admin (mscep_admin) or Microsoft SCEP (mscep) webpage, select Configuration Editor > System.webServer > Security > Authentication > Windows Authentication and set the value to useAppPoolCredentials=True.
-
Disable Anonymous Authentication on the Microsoft SCEP Admin webpage (mscep_admin) by selecting Authentication > Anonymous Authentication and click Disable.
-
Disable Kernel mode authentication in the Windows authentication advanced settings.
Make sure to use Negotiate as the first option in the authentication service.
-
Disable Kernel mode authentication in the Windows authentication advanced settings webpage.
-
Restart the IIS service.
Configuring Kerberos
This section discusses how to configure Kerberos on Ivanti Neurons for MDM server.
Configuring Kerberos settings in Ivanti Neurons for MDM
Navigate to Admin > Infrastructure > Kerberos, enter the following setting as given in the table:
UI Section |
Choice |
---|---|
Active Directory's Kerberos Realm | IVANTI.COM |
Corresponding Key Distribution Center (KDC) server | kdc.ivanti.com |
Service user credentials |
user@realm For example: [email protected] |
Domains for outbound communication with Microsoft AD Certificate Services (hostnames are not case sensitive and must end with .ivanti.com or .IVANTI.COM) SCEP or NDES server: You can also use hostnames, such as: ndes.ivanti.com or scep.ivanti.com |
Enabling Kerberos authentication on the Microsoft SCEP Certificate Enrollment configuration on an existing certificate authority
Perform the following steps to enable Kerberos authentication on an existing certificate authority:
-
In Ivanti Neurons for MDM, select Admin > Infrastructure > Certificate Management.
-
Select the certificate authority type with the External option.
These external certificate authority types should denote as Microsoft.
-
From the Actions drop-down, select Edit.
-
In the Edit External CA window, select the checkbox Prefer Kerberos authentication to enable Kerberos authentication.
Enabling Kerberos authentication on the Microsoft SCEP Certificate Enrollment configuration on for a new certificate authority
Perform the following steps to enable Kerberos authentication for a new certificate authority:
-
In Ivanti Neurons for MDM, select Admin > Infrastructure > Certificate Management.
-
Select the +Add option.
-
In the Add Certificate Authority window, select Connect to an on-premises SCEP Certificate Authority option.
-
Click Continue.
-
In the Add an External Certificate Authority window, perform the following steps:
- Select the Microsoft option from the Certificate Authority Type drop-down.
- Select the checkbox Prefer Kerberos authentication to enable Kerberos authentication.
- Fill in all the required fields.
- Click Done.